// samsting : this file is auto create.

#include "Crm/2015-04-08/QueryCustomerLabelResponse.h"

namespace aliyun { namespace Crm {

QueryCustomerLabelResponse::QueryCustomerLabelResponse() {
}

const string& QueryCustomerLabelResponse::CustomerLabel::GetLabel(void) const {
  return Label_;
}

const string& QueryCustomerLabelResponse::CustomerLabel::GetLabelSeries(void) const {
  return LabelSeries_;
}

const std::vector<QueryCustomerLabelResponse::CustomerLabel>& QueryCustomerLabelResponse::GetData(void) const {
  return Data_;
}

bool QueryCustomerLabelResponse::GetSuccess(void) const {
  return Success_;
}

const string& QueryCustomerLabelResponse::GetCode(void) const {
  return Code_;
}

const string& QueryCustomerLabelResponse::GetMessage(void) const {
  return Message_;
}

const char* QueryCustomerLabelResponse::BaseKey(void) {
  return "QueryCustomerLabelResponse";
}

void QueryCustomerLabelResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Data__length = 0;
  UnmarshallerInt(Data__length, response_map, "QueryCustomerLabelResponse.Data.Length");
  if(Data__length >= 0) {
    Data_.resize(Data__length);
    for(int i1 = 0; i1 < Data__length; i1++) {
      UnmarshallerString(Data_[i1].Label_, response_map, "QueryCustomerLabelResponse.Data["+string_ValueOfInt(i1)+"].Label");
      UnmarshallerString(Data_[i1].LabelSeries_, response_map, "QueryCustomerLabelResponse.Data["+string_ValueOfInt(i1)+"].LabelSeries");
    } // for(int i1 = 0; i1 < Data__length; i1++) {
  } // if(Data__length >= 0) {

  UnmarshallerBool(Success_, response_map, "QueryCustomerLabelResponse.Success");
  UnmarshallerString(Code_, response_map, "QueryCustomerLabelResponse.Code");
  UnmarshallerString(Message_, response_map, "QueryCustomerLabelResponse.Message");
}


} } // namespace aliyun { namespace Crm {

// end of file 
